package com.example.tokendemo.core.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.Query;
import com.example.tokendemo.core.dao.EventDao;
import com.example.tokendemo.core.entity.EventEntity;
import com.example.tokendemo.core.service.EventService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;



@Service("eventService")
public class EventServiceImpl extends ServiceImpl<EventDao, EventEntity> implements EventService {

//    @Override
//    public PageUtils queryPage(Map<String, Object> params) {
//        IPage<EventEntity> page = this.page(
//                new Query<EventEntity>().getPage(params),
//                new QueryWrapper<EventEntity>()
//        );
//
//        return new PageUtils(page);
//    }

}